package com.sunwayworld.basemodule.business.batch.service;

import com.sunwayworld.basemodule.business.batch.bean.LimsBatchSampleBean;
import com.sunwayworld.basemodule.samplemanage.sample.bean.LimsSampleBean;
import com.sunwayworld.framework.data.page.Page;
import com.sunwayworld.framework.mybatis.mapper.MapperParameter;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;
import com.sunwayworld.framework.support.base.service.GenericService;

import java.util.List;
import java.util.Map;

public interface LimsBatchSampleService extends GenericService<LimsBatchSampleBean, Long> {

    void insertSample(RestJsonWrapperBean wrapper);

    void sampleChoose(RestJsonWrapperBean wrapper);

    void updateSample(RestJsonWrapperBean wrapper);

    Page<LimsSampleBean> selectBatchSampleInfo(RestJsonWrapperBean wrapper);

    List<LimsSampleBean> selectBatchSample(MapperParameter parameter);

    void deleteBatchSamples(RestJsonWrapperBean wrapper);

    LimsSampleBean getBatchSampleInfo(Long id);

    Page<LimsSampleBean> selectBatchSampleInfos(RestJsonWrapperBean wrapper);

}
